package com.arch.dev.server.report;

import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperExportManager;


public class PdfJasperReport extends ReportFactory {

	@Override
	public void createReport(String destFileName) throws JRException {
		long start = System.currentTimeMillis();
		JasperExportManager
				.exportReportToPdfFile(JASPER_PRINT_REPORT_PATH, destFileName);
		System.err.println("PDF creation time : "
				+ (System.currentTimeMillis() - start));
	}

}
